const dt=require('./index')

const dtstr=dt.dateFormat(new Date())
console.log(dtstr);

const htmlStr='<h1 title="abc">这是h1标签<span>123&nbsp;</span></h1>'
const str=dt.htmlEscape(htmlStr)
const strr=dt.htmlUnEscape(str)
console.log(str);
console.log(strr);